import { create } from "zustand";

const useConversationStore = create((set) => ({
  selectedConveration: null,
  setSelectedConversation: (selectedConveration) => {
    console.log("store>> ", selectedConveration);
    set({ selectedConveration });
  },
  messages: [],
  setMessages: (messages) => set({ messages }),
}));

export default useConversationStore;
